#ifndef _DEPOT_H_
#define _DEPOT_H_

#define INIT_SIZE 32

typedef struct depot {
	int *tab;
	int n;
	int s;
	int *lgt;
} *depot_t;

depot_t d;
int str_num;
int str_lgt;

void init_depot( int n );
int is_full( void );
void realloc_depot( void );
void add_word( int elem );
void add_lgt( int i , int lgt );
int cmp_str(int *str1, int *str2, int n);
void sort_depot_lgt(int n);
void sort_depot_num(int n);
#endif
